# -*- coding: utf-8 -*-

"""
@File    : 动态可视化1.py
@Author  : fungis@163.com
@Time    : 2020/07/16 21:00
@notice  :
"""
import pandas as pd
from keplergl import KeplerGl

#通过全国七八九月的日均温数据进行渲染
raw = pd.read_csv('./Temperature2000.csv')
map1 = KeplerGl(height=800, data={'layer1': raw})  # 生成Kepler.gl网页
map1.save_to_html(file_name='时间轮播地图示例2019-789.html', data={'layer1': raw})  # 导出网页
